import request from '@/utils/request'

export const setExamInfoService = (examInfo: object) => {
  return request.post('/admin/setExamTime', examInfo)
}
export const setIntvInfoService = (intvInfo: object) => {
  return request.post('/admin/setIntvTime', intvInfo)
}
export const setExemInfoService = (exemInfo: object) => {
  return request.post('/admin/setExemTime', exemInfo)
}
export const updateTimeInfoService = (timeInfo: object) => {
  return request.put('/admin/updateTime', timeInfo)
}
export const getTimeInfoService = () => {
  return request.get('/admin/getTime')
}
